package com.cherrish.demo.web.controller;

import com.cherrish.demo.myspring.framework.annotation.CAutowired;
import com.cherrish.demo.myspring.framework.annotation.CController;
import com.cherrish.demo.myspring.framework.annotation.CRequestMapping;
import com.cherrish.demo.web.service.ITestService;

/**
 * @author cherrish
 * @name TestController
 * @date 2019/5/9 8:05
 * @desc TODO
 */
@CController
public class TestController {
    @CAutowired
    private ITestService iTestService;

    @CRequestMapping(value = "/test")
    public String test(){
        return "test";
    }
}
